<?php

class Category extends AppModel {
	public $name="Category";
    //public $hasMany = 'Services';
	/*public $belongsTo ="Services"; 
     */
     public $hasMany = array(
        'Services' => array(
            'className' => 'Services'                 
        )
    );

   public $validate = array(
	
	'name'=>array(
		'r0' => array(
      'rule'    => 'notEmpty',
      'message' => 'Nombre no puede ser vacio'
    )
  )

	);

}